import request from '@/utils/request'
// 查询TID6渠道库存日报列表
export function channelInventoryData(query) {
  return request({
    url: '/product/BiChannelInventoryDwd/channelInventoryData',
    method: 'get',
    params: query
  })
}
// 查询TID6渠道库存日报列表
export function updateStockRotationRate(query) {
  return request({
    url: '/product/BiChannelInventoryDwd/updateStockRotationRate',
    method: 'get',
    params: query
  })
}
// 查询TID6渠道库存日报列表
export function listBiChannelInventoryDwd(query) {
  return request({
    url: '/product/BiChannelInventoryDwd/list',
    method: 'get',
    params: query
  })
}

// 查询TID6渠道库存日报详细
export function getBiChannelInventoryDwd(id) {
  return request({
    url: '/product/BiChannelInventoryDwd/' + id,
    method: 'get'
  })
}

// 新增TID6渠道库存日报
export function addBiChannelInventoryDwd(data) {
  return request({
    url: '/product/BiChannelInventoryDwd',
    method: 'post',
    data: data
  })
}

// 修改TID6渠道库存日报
export function updateBiChannelInventoryDwd(data) {
  return request({
    url: '/product/BiChannelInventoryDwd',
    method: 'put',
    data: data
  })
}

// 删除TID6渠道库存日报
export function delBiChannelInventoryDwd(id) {
  return request({
    url: '/product/BiChannelInventoryDwd/' + id,
    method: 'delete'
  })
}
